<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head th:fragment="head(title)">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title th:replace="${title}">模板</title>
    <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"/>
    <link rel="stylesheet" th:href="@{/lib/bootstrapValidator/css/bootstrapValidator.min.css}"/>
</head>

<body>
<!--导航栏-->
<div th:fragment="nav">
    <nav class="navbar navbar-inverse navbar-static-top" role="navagation">
        <div class="container">
            <!-- logo -->
            <div class="navbar-header">
                <a href="#" class="navbar-brand">管理后台</a>
            </div>
            <div id="navbar" class="collapse navbar-collapse">
                <ul class="nav navbar-nav">
                    <li ><a href="#" th:href="@{/admin/roles}"><i class="glyphicon glyphicon-th"></i>&nbsp;角色管理</a></li>
                </ul>
            </div>
        </div>
    </nav>
</div>
<!--js部分-->
<th:block th:fragment="script">
    <script type="text/javascript"  th:src="@{/jquery/jquery-3.4.1.min.js}"></script>
    <script type="text/javascript" th:src="@{/js/bootstrap.min.js}"></script>
    <script type="text/javascript" th:src="@{/lib/bootstrapValidator/js/bootstrapValidator.min.js}"></script>
</th:block>
</body>
</html>